package com.cszy.yydqbfq.dialog;

import android.animation.AnimatorSet;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import androidx.annotation.NonNull;


import com.hbcysd.qybfq.R;
import com.cszy.yydqbfq.ui.activity.ActivitySettingPwdActivity;
import com.cszy.yydqbfq.ui.activity.CloseFcmActivity;
import com.hjq.shape.view.ShapeTextView;


public class FcmShowDialog extends BaseDialog{

    private ShapeTextView btn_fcm;
    private Context mConText;
    public FcmShowDialog(@NonNull Context context) {
        super(context);
        mConText=context;
    }

    @Override
    protected float setWidthScale() {
        return 0.8f;
    }

    @Override
    protected AnimatorSet setEnterAnim() {
        return null;
    }

    @Override
    protected AnimatorSet setExitAnim() {
        return null;
    }

    @Override
    protected void init() {

        btn_fcm=findViewById(R.id.btn_ok);


        //我知道了
        btn_fcm.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
              mConText.startActivity(new Intent(mConText, CloseFcmActivity.class));
            }
        });
    }

    @Override
    protected int getContentViewId() {
        return R.layout.dialog_fangchenmi_show;
    }
}
